<html>
<head>
	<script language='javascript' src='../../../pax_prod_safe.js'></script>
	<script language='javascript' src='../pax.plugin.widget.spell.js'></script>
	<style type="text/css">@import url( /pax/plugin/spell/pax.spell.css );</style>
</head>
<body>

<textarea name='text' id='text' cols='80' rows='10'>thiis weill need to be speel chcked! feel free to add words ebfore checking!</textarea>
<br/>
<button id='check'>Check spelling</button><button id='auto'>Auto correct</button>
<br/>

<script language='javascript'>
	pax.load.onloaded( function() {
		pax.plugin.widget.spell.init( pax('text'), {
			url: '../aspell_pax_service.php',
			button: pax('check'),
			auto: pax('auto')
		} );
	} );
</script>

</body>
</html>

